Objects Reference

light_map_pic constructor

Prototype

light_map_pic(int sx,int sy,int bp=3)

Parameters

Parameter Type Description
sx int size in x (power of 2)
sy int size in y (power of 2)
bp int the light map bytes per pixel:
3 - RGB
4 - RGBA

Remarks

Creates the light_map_pic and allocates the bitmap pixels.